<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<avalon ms-skip="" class="avalonHide">
<style id="avalonStyle">
.avalonHide{ display: none!important }
</style>
</avalon>
<title>申请兼职</title>
    <meta charset="utf-8">   
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Pragma" content="no-cache">   
    <meta http-equiv="Cache-Control" content="no-store">
    <meta http-equiv="Expires" content="0">
<LINK href="../addons/feng_fightgroups/template/css/style_366c9ef.css" rel="stylesheet"> 
<LINK href="../addons/feng_fightgroups/template/css/my.css" rel="stylesheet">  
<LINK  href="../addons/feng_fightgroups/template/css/font-awesome-4.3.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../addons/feng_fightgroups/template/js/jquery.min.js"></script>{php echo register_jssdk();} 
</head> 
<body  >
<form name='form' method="post" onsubmit="return toVaild()">
<div class="mod_container">
  <div class="wx_bar">
    
  
  {if $mem['type']==1&&$mem['enable']!=1}
	    <div class="wx_bar_back" style="text-align:center;margin-top:30px;">   
 <img src='{$mem['avatar']}' style='width:80px;height:80px;padding1px;border:1px solid #ccc' />	
     </div>
	  <span style="font-size:16px;display:block;width:200px;margin:auto;text-align:center;margin-top:20px;">
	  
		您好{$mem['name']},您提交的申请已经在审批中,请耐心等候!
	  </span>
	   <a style="display:block;width:200px;height:40px;background-color:#6fbfd8;color:white;font-weight:700;font-size:1.5em;line-height:40px;text-align:center;margin:auto;border-radius:5px;margin-top:80px;" id="closewindow">确定</a>
	   {/if}
  </div>
  <div class="wx_wrap">
    <div class="address_new" style="text-align:center;margin-top:30px;"><INPUT id="address_regionId" type="hidden">             
     {if ($mem['enable']==0||empty($mem['enable']))&&empty($mem['type'])}  
      <p>
        <LABEL for="name"><SPAN class="tit">姓名</SPAN>                         
        <INPUT name="name" id="name" type="text" placeholder="名字" value="{$mem['name']}">              
        
        </LABEL>                 
      </p>
	  <p>
        <LABEL for="shopname"><SPAN class="tit">店铺名称</SPAN>                         
        <INPUT name="shopname" id="shopname" type="text" placeholder="店铺名称" value="{$mem['shopname']}">              
        
        </LABEL>                 
      </p>
	  <p>
        <LABEL for="weixinnumber"><SPAN class="tit">微信号</SPAN>                         
        <INPUT name="weixinnumber" id="weixinnumber" type="text" placeholder="微信号" value="{$mem['weixinnumber']}">              
        
        </LABEL>                 
      </p>
      <p>
        <LABEL for="mobile"><SPAN class="tit">手机号码</SPAN>                         
              
        <input required="" id="mobile" placeholder="手机号码" name="mobile" maxlength="11" minlength="11" class="block input" tabindex="2" type="tel" value="{$mem['mobile']}" nkeyup="this.value=this.value.replace(/\D/gi,&quot;&quot;)" onblur="value=value.replace(/\D/gi,&quot;&quot;);if(value.length&lt;11){alert(&quot;电话号码位数不够！&quot;);this.focus();}">
        </LABEL> 
      </p>
	
	   
	 
	  
 <p class="action">
 
     <button type="submit" name="submit" value="yes" id= 'submit' class="pay2_btn" style="margin-bottom:20px;background-color:#6fbfd8">申请兼职</button>
      <input type="hidden" name="token" value="{$_W['token']}" />
      </p>
	  <img style="width: 35%;height:auto;margin:auto" src="{php echo tomedia($share_images)}" alt="" class="img-rounded">
	  {/if}
	  
	  
	 
  </div>
</div>
{if $mem['enable']==1}
	    <?php
		/*二维码*/
		wl_load()->classs('qrcode');
		$createqrcode =  new creat_qrcode();
		$createqrcode->creatshareQrcode($mem['id']);
		?>
	 
	  
	  <div class="mod_footer">
	   
            <div class="mod_footer_logo" style="position:relative;width: 230px;height: 230px;margin: 0 auto;">
			<p style="font-size:18px;margin-left:-10px;">我的推广二维码</p>
            	<img src="{TG_URL}qrcode/{$_W['uniacid']}/share_qrcode_{$mem['id']}.png" alt="推广二维码" class="img-rounded">
				<div style="text-align:center;margin:20px 40px;">长按二维码图片识别或保存</div>
            </div>
        </div>
	   {/if}
<div style="height:100px;"></div>


</form>
<script>
            function displayUrl(lurl, surl) {
                require(['jquery', 'util'], function($, u) {
                    var content = '<p class="form-control-static" style="word-break:break-all">菜单使用链接(需要oAuth): <br>' + lurl + '</p>';
                    content += '<p class="form-control-static" style="word-break:break-all">自动回复使用链接: <br>' + surl + '</p>';
                    var footer =
                            '<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>' +
                            '<button type="button" class="btn btn-primary">复制菜单链接</button>' +
                            '<button type="button" class="btn btn-success">复制自动回复链接</button>';
                    var diaobj = u.dialog('查看URL', content, footer);
                    diaobj.find('.btn-default').click(function() {
                        diaobj.modal('hide');
                    });
                    diaobj.on('shown.bs.modal', function(){
                        u.clip(diaobj.find('.btn-primary')[0], lurl);
                        u.clip(diaobj.find('.btn-success')[0], surl);
                    });
                    diaobj.modal('show');
                });
            }
            function displayQr(url) {
                require(['jquery', 'util'], function($, u) {
                    var content = '<div class="panel panel-default text-center"><img src="' + url + '" alt="文章地址二维码" class="img-rounded"></div>';
                    var footer =
                            '<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>';
                    var diaobj = u.dialog('查看URL二维码', content, footer);
                    diaobj.find('.btn-default').click(function() {
                        diaobj.modal('hide');
                    });
                    diaobj.modal('show');
                });
            }
        </script>
		<script>
	wx.ready(function (){
	var shareData = {
		title: "申请兼职",
		desc: "{$share_indexdesc}",
		link: "{$to_url}",
		imgUrl: "{php echo tomedia($share_images)}",
	};
//分享朋友
	wx.onMenuShareAppMessage({
	    title: shareData.title,
	  	desc: shareData.desc,
	  	link: shareData.link,
	  	imgUrl:shareData.imgUrl,
	  	trigger: function (res) {
	  	},
	  	success: function (res) {
	    	window.location.href =adurl;
	  	},
	  	cancel: function (res) {
	  	},
	  	fail: function (res) {
	    	alert(JSON.stringify(res));
	  	}
	});
//朋友圈
	wx.onMenuShareTimeline({
	  	title: shareData.title,
	  	link: shareData.link,
	  	imgUrl:shareData.imgUrl,
	  	trigger: function (res) {
	  	},
	  	success: function (res) {
	    	window.location.href =adurl;
	  	},
	  	cancel: function (res) {
	  	},
	  	fail: function (res) {
	    	alert(JSON.stringify(res));
	  	}
	});
	wx.ready(function(){
		$('#closewindow').click(function(){
			wx.closeWindow();
		});
	});
});
</script>
 </BODY>
 </HTML>
 